﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Agro.Library {
    public class ColModelOption {
        public ColModelOption() { }
        public string name { get; set; }
        public string label { get; set; }
        public int width { get; set; }
        public string align { get; set; }
        public string formatter { get; set; }
        public ColModelEditOption editoptions { get; set; }
        public ColModelFormatOption formatoptions { get; set; }
        public bool hidden { get; set; }
    }

    public class ColModelEditOption {
        public string value { get; set; }
    }

    public class ColModelFormatOption {
        public string newformat { get; set; }
        /// <summary>
        /// 小数位数，该属性名暂定，如果在以后项目中使用，建议修改
        /// </summary>
        public int? realDecimalPlaces { get; set; }
    }
}
